package com.nowcoder.community.dao;

import com.nowcoder.community.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author Cl
 * @Date 2024-2024/5/3  20:09
 * @Description todo
 */
@Mapper
public interface CommentMapper {
    List<Comment> selectCommentByEntity(int entityType , int entityId , int offset, int limit);
    int selectCountByEntity(int entityType ,int entityId);
}
